import http from './http'

//老师的name接口
export const indexApi = (data) => http.post('/api/list', data)
// dy的菜品接口
export const caiApi = (data) => http.post('/api/cai', data)
// 后勤详情接口
export const dataApi = (data) => http.post('/api/data', data)
export const data1Api = (data) => http.post('/api/data1', data)
export const removeApi = (data) => http.post('/api/remove1', data)
export const edit1Api = (data) => http.post('api/edit1', data)
export const add1Api = (data) => http.post('api/add1', data)

// vip信息接口
export const vipApi = (data) => http.post('/api/vip', data)
//删除vip信息接口
export const delVipApi = (data) => http.post('api/remove', data)

//新增接口
export const addVipApi = (data) => http.post('api/add', data)

//编辑的接口
export const editApi = (data) => http.post('api/edit', data)

//登录的接口
export const loginApi = (data) => http.post('/api/login', data)
